package edu.psu.geovista.app.hce.clustering.similarity.attribute;

import java.util.Vector;

/*
 * GeoVISTA Center (Penn State, Dept. of Geography)
 * Copyright (c), 2003-2011,  Jin Chen and Alan M. MacEachren, GeoVISTA Center, Penn State University
 * Licensed under Simplified BSD License
 *  
 *
 * @author: jin Chen 
 * @date: Jun 18, 2005$
 * @version: 1.0
 */

public interface SimilarityComparator {
    double similarity(Vector attrs1, Vector  attrs2, Vector  weights) ;

    double similarity(float[] attrs1, float[] attrs2, float[] weights) ;
}
